package main

import "fmt"


func main(){
	//不可变，是字符串里的字符元素不能修改
  var s1 string = "I hate you"
	fmt.Printf("%c\n",s1[0])
	fmt.Println(s1)
	var s2= "I love you"
	fmt.Printf("%c\n",s2[0])
	fmt.Println(s2)
	//字符串中有特殊字符
	fmt.Println(`My name's "welcome" Tony!`)
	//字符串过长; 加号留在上一行的最后
	var s6 = "dsfsfsfsf"+
	"go to bed"
	fmt.Println(s6)
}
